﻿

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>千净</title>
    <style>
        .container {
            background-image: url("../../Statics/Images/shop/main/slogan.jpg");
            background-size: cover;
            display: block;
        }

        body {
            padding: 0px;
            margin: 0px;
        }
    </style>

</head>
<body>
    <div id="app">
        <div v-on:tap="goHome" class="container">
        </div>
    </div>
</body>


</html>
@section Scripts{
    @Scripts.Render("~/jsbundles/consumer/subscribe")
    <script>
        var model = new Vue({
            el: '#app',
            data: {},
            methods: {
                goHome: function () {
                    window.location.href = "Common?code=@ViewBag.Code&state=@ViewBag.State&openid=@ViewBag.OpenId";
                }
            }
        })
        $(function () {
            var height = $(document).height();
            var width = $(document).width();
            $(".container").width(width + "px");
            $(".container").height(height + "px");
            setTimeout(function () {
                window.location.href = "Common?code=@ViewBag.Code&state=@ViewBag.State&openid=@ViewBag.OpenId";
            }, 2000);
        })
    </script>

}